package example.demo.threadlocal;

public class DemoThreadLocal {
    static ThreadLocal<String> threadLocal = new ThreadLocal<>();

    public static void main(String[] args) {
        threadLocal.set("wahaha");
        String s = threadLocal.get();
        System.out.println(s);
    }
}
